<link  href="/javascripts/cropper/css/cropper.css" rel="stylesheet">
<link  href="/javascripts/cropper/css/docs.css" rel="stylesheet">
<script src="/javascripts/cropper/js/cropper.js"></script>
<script src="/javascripts/cropper/js/docs.js"></script>
<div style="width: 95%;height: 550px">
<div class="fieldContent">
    <div class="eg-wrapper">
        <img class="cropper" src="" alt="图片预览">
    </div>
    <div class="preview preview-lg"></div>
    <div style="clear: both;padding-top: 5px;"></div>
    <a href="#" id="zoomIn" class="easyui-linkbutton" data-options="iconCls:'icon-zoom-in'">放大&nbsp;&nbsp;</a>&nbsp;&nbsp;
    <a href="#" id="zoomOut" class="easyui-linkbutton" data-options="iconCls:'icon-zoom-out'">缩小&nbsp;&nbsp;</a>&nbsp;&nbsp;
    <input id="fpath" class="easyui-textbox" name="fpath" style="width: 32%" disabled/>
    <a href="#" class="easyui-linkbutton" onclick="$('#inputImage').click()" data-options="iconCls:'icon-upload'">请选择&nbsp;&nbsp;</a>
</div>

<form id="addBus" method="post" enctype="multipart/form-data">

    <input id="inputImage" name="file" type="file" accept="image/*"  style="display:none" /><!--文件上传-->


        <div class="field">
            <label for="gname">商品名称：</label>
        </div>
        <div class="fieldContent">
            <input id="gname" class="easyui-textbox" name="gname" style="width: 55%"/>
        </div>

        <div class="field">
            <label for="price">价格：</label>
        </div>
        <div class="fieldContent">
            <input id="price" class="easyui-textbox" name="price" style="width: 55%"/>
        </div>

        <div class="field">
            <label for="describe">描述：</label>
        </div>
        <div class="fieldContent">
            <input id="describe" class="easyui-textbox" name="describe" style="width: 55%"/>
        </div>

       <!-- <div class="field">
            <label for="filePath">商品图片：</label>
        </div>
        <div class="fieldContent">
            <div class="eg-wrapper">
                <img class="cropper" src="/images/busimgs/bus28/2be7df6ecd4fd6bc03653392977b2a38.jpg" alt="Picture">
            </div>
            <div class="preview preview-lg"></div><br>
            <input id="filePath" name="filePath" class="easyui-filebox" style="width: 55%" data-options="prompt:'请选择图片，图片大小限制在200kb以内...'">
        </div>-->

        <div class="field">
            <label for="cid">城市：</label>
        </div>
        <div class="fieldContent">
            <input class="easyui-combobox" id="cid" name="cid" style="width:55%" value="请选择..."
                   data-options="
                  url: '/getCityList',
                  method: 'get',
                  valueField:'cid',
                  textField:'city',
                  groupField:'province'">
        </div>

        <div class="field">
            <label for="cid">商家名称：</label>
        </div>
        <div class="fieldContent">
            <input class="easyui-combobox" id="lid" name="lid" style="width:55%" value="请选择...">
        </div>

        <div class="field">
            <label for="syid">商品类型：</label>
        </div>
        <div class="fieldContent" style="margin-bottom: 60px;">
            <input name="syid" class="easyui-combobox" id="syid" style="width:55%"  value="请选择...">
        </div>



        <input id="dataX" name="coords" type="text" placeholder="x" style="display: none"/>
        <input id="dataY" name="coords" type="text" placeholder="y" style="display: none"/>
        <input id="dataWidth" name="coords" type="text" placeholder="width" style="display: none"/>
        <input id="dataHeight" name="coords" type="text" placeholder="height" style="display: none"/>

</form>
</div>

<!--
<div id="goodsdlg" class="easyui-dialog" title="Complex Toolbar on Dialog" style="width:400px;height:200px;padding:10px"
     data-options="
				iconCls: 'icon-save',
				toolbar: '#goodsdlg-toolbar',
				buttons: '#goodsdlg-buttons',
				closed:true">
    The dialog content.
</div>
<div id="goodsdlg-toolbar" style="padding:2px 0">
    <table cellpadding="0" cellspacing="0" style="width:100%">
        <tr>
            <td style="padding-left:2px">
                <a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true">Edit</a>
                <a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-help',plain:true">Help</a>
            </td>
        </tr>
    </table>
</div>
<div id="goodsdlg-buttons">
    <a href="javascript:void(0)" class="easyui-linkbutton" onclick="javascript:alert('save')">Save</a>
    <a href="javascript:void(0)" class="easyui-linkbutton" onclick="javascript:$('#goodsdlg').dialog('close')">Close</a>
</div>
-->

